/**
 * Callback method for when form is shown.
 *
 * @param {Boolean} firstShow form is shown first time after load
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"37627A62-ABCB-49AB-98D4-B9981A30EA77"}
 * @AllowToRunInFind
 */
function onShow(firstShow, event) {
	
}

/**
 * @properties={typeid:24,uuid:"1F72A7AD-CDF7-45B6-A3C2-E8A4FA9D87DA"}
 */
function doEdit(){
	
	elements.btn_ir_aplicacion.enabled = false;
	elements.btn_ir_empresa.enabled = false;
}

/**
 * @properties={typeid:24,uuid:"6FEEE1E1-10C3-44A5-BBDA-FBA01669BB85"}
 */
function hide_btn_reset_fields(){
	
	elements.btn_ir_aplicacion.enabled = true;
	elements.btn_ir_empresa.enabled = true;
}


/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"27481120-6646-4A29-A7D3-CCE0B2B656E1"}
 */
function ir_aplicacion(event) {

	globals.ir_formulario(event,forms.frm_adm_t900_aplicaciones.controller.getName(),adm_t300_apli_emp_to_adm_t900_aplicaciones,globals.$MODO_LECTURA);
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"0ECC4EE1-77B8-4AD2-8D49-6836D2EE2711"}
 */
function ir_empresa(event) {

	globals.ir_formulario(event,forms.frm_adm_t900_empresas.controller.getName(),adm_t300_apli_emp_to_adm_t900_empresas,globals.$MODO_LECTURA);
}
